how to open chrome in vbscript

176

how to open chrome in vbscript -

Dim iURL 
Dim objShell

iURL = "www.google.ie"

set objShell = CreateObject("Shell.Application")
objShell.ShellExecute "chrome.exe", iURL, "", "", 1

how to open chrome in vbscript -

Dim objShell

objShell = CreateObject("Shell.Application")
objShell.ShellExecute("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", "www.google.ie", "", "", 1)

how to open chrome in vbscript -

set objShell = CreateObject("WScript.Shell")
objShell.run(iURL)

Comments

Submit
0 Comments